import { Alert } from 'antd';
import CommonList from './CommonList';
import { getHistoryOrderList } from './services';

const OrderList = (props) => {
  return (
			<CommonList
				tableHeader={<Alert type="info" message="历史订单包含自系统订单创建起，超过6个月的“已发货”状态和“作废订单”状态订单，此页面订单仅支持查询和导出功能。" showIcon />}
				actions="history"
				ajaxFn={getHistoryOrderList}
			/>
  );
};
export default OrderList;
